<html>
<head>
    <title>login</title>
    <link rel="stylesheet" type="text/css" href="/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="//cdn.staticfile.org/font-awesome/4.1.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="/static/js/common/bootstrap-table-object.js">
</head>
<body>
<form th:action="/login.html" method="post">
    <div class="form-group">
        <label>用户名</label>
        <input type="text" class="form-control span12" name="username"
               placeholder="用户名" autofocus="autofocus"
               data-rule-required="true" data-msg-required="请输入您的用户名"/>
    </div>
    <div class="form-group">
        <label>密码</label>
        <input type="password" class="form-controlspan12 form-control"
               name="password"
               placeholder="密码" data-rule-required="true"
               data-msg-required="请输入您的密码"/>
    </div>
    <#--支持多平台登录，默认平台id为0-->
    <div class="form-group">
        <label>merchantId</label>
        <input type="merchantId" class="form-controlspan12 form-control"
               name="text"
               value="0"
               placeholder="merchantId" data-rule-required="true"
               data-msg-required="请输入平台id"/>
    </div>
    <div class="form-group">
        <label>验证码////===${root}</label>
        <div class="input-icon">
            <i class="icon-info-sign"></i> <input type="text" name="verifyCode"
                                                  class="form-control" style="width: 150px; display: inline-block;"
                                                  data-rule-required="true"
                                                  data-msg-required="请输入验证码" size="4"/>
            <a href="javascript:void(0)" onclick="document.getElementById('captcha_img').src='${root}/kaptcha?r'+Math.random()" title="换一个">
                <img src="${root}/kaptcha" id="captcha_img" alt="点击刷新验证码"/>
            </a>

        </div>
    </div>
    <button type="submit" class="btn btn-primary pull-right">
        登录
    </button>
    <div class="clearfix"></div>
   

</form>
</body>
</html>